#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	for (int n = 3;n <= 100;n += 3)
	{
		printf("%d\n", n);
	}
	return 0;
}